package cn.xiangxu.flux_server.domain.domain_po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author 王杨帅
 * @create 2018-08-21 22:04
 * @desc 学生持久化对象
 **/
@Document(collection = "student")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StudentPO {

    @Id
    private String id;

    private String name;

    private Integer age;

    private String address;

}

